﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020000AB RID: 171
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ANOEBHANHDM : IMessage<ANOEBHANHDM>, IMessage, IEquatable<ANOEBHANHDM>, IDeepCloneable<ANOEBHANHDM>, IBufferMessage
	{
		// Token: 0x17000225 RID: 549
		// (get) Token: 0x06000798 RID: 1944 RVA: 0x00015EC5 File Offset: 0x000140C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ANOEBHANHDM> Parser
		{
			get
			{
				return ANOEBHANHDM._parser;
			}
		}

		// Token: 0x17000226 RID: 550
		// (get) Token: 0x06000799 RID: 1945 RVA: 0x00015ECC File Offset: 0x000140CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ANOEBHANHDMReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000227 RID: 551
		// (get) Token: 0x0600079A RID: 1946 RVA: 0x00015EDE File Offset: 0x000140DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ANOEBHANHDM.Descriptor;
			}
		}

		// Token: 0x0600079B RID: 1947 RVA: 0x00015EE5 File Offset: 0x000140E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ANOEBHANHDM()
		{
		}

		// Token: 0x0600079C RID: 1948 RVA: 0x00015EF0 File Offset: 0x000140F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ANOEBHANHDM(ANOEBHANHDM other) : this()
		{
			this.iJLKFMAOIFM_ = other.iJLKFMAOIFM_;
			this.hCFGMKCCAGA_ = other.hCFGMKCCAGA_;
			this.gridId_ = other.gridId_;
			this.buffId_ = other.buffId_;
			this.dHNNELGHIGI_ = other.dHNNELGHIGI_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600079D RID: 1949 RVA: 0x00015F50 File Offset: 0x00014150
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ANOEBHANHDM Clone()
		{
			return new ANOEBHANHDM(this);
		}

		// Token: 0x17000228 RID: 552
		// (get) Token: 0x0600079E RID: 1950 RVA: 0x00015F58 File Offset: 0x00014158
		// (set) Token: 0x0600079F RID: 1951 RVA: 0x00015F60 File Offset: 0x00014160
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IJLKFMAOIFM
		{
			get
			{
				return this.iJLKFMAOIFM_;
			}
			set
			{
				this.iJLKFMAOIFM_ = value;
			}
		}

		// Token: 0x17000229 RID: 553
		// (get) Token: 0x060007A0 RID: 1952 RVA: 0x00015F69 File Offset: 0x00014169
		// (set) Token: 0x060007A1 RID: 1953 RVA: 0x00015F71 File Offset: 0x00014171
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HCFGMKCCAGA
		{
			get
			{
				return this.hCFGMKCCAGA_;
			}
			set
			{
				this.hCFGMKCCAGA_ = value;
			}
		}

		// Token: 0x1700022A RID: 554
		// (get) Token: 0x060007A2 RID: 1954 RVA: 0x00015F7A File Offset: 0x0001417A
		// (set) Token: 0x060007A3 RID: 1955 RVA: 0x00015F82 File Offset: 0x00014182
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GridId
		{
			get
			{
				return this.gridId_;
			}
			set
			{
				this.gridId_ = value;
			}
		}

		// Token: 0x1700022B RID: 555
		// (get) Token: 0x060007A4 RID: 1956 RVA: 0x00015F8B File Offset: 0x0001418B
		// (set) Token: 0x060007A5 RID: 1957 RVA: 0x00015F93 File Offset: 0x00014193
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BuffId
		{
			get
			{
				return this.buffId_;
			}
			set
			{
				this.buffId_ = value;
			}
		}

		// Token: 0x1700022C RID: 556
		// (get) Token: 0x060007A6 RID: 1958 RVA: 0x00015F9C File Offset: 0x0001419C
		// (set) Token: 0x060007A7 RID: 1959 RVA: 0x00015FA4 File Offset: 0x000141A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DHNNELGHIGI
		{
			get
			{
				return this.dHNNELGHIGI_;
			}
			set
			{
				this.dHNNELGHIGI_ = value;
			}
		}

		// Token: 0x060007A8 RID: 1960 RVA: 0x00015FAD File Offset: 0x000141AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ANOEBHANHDM);
		}

		// Token: 0x060007A9 RID: 1961 RVA: 0x00015FBC File Offset: 0x000141BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ANOEBHANHDM other)
		{
			return other != null && (other == this || (this.IJLKFMAOIFM == other.IJLKFMAOIFM && this.HCFGMKCCAGA == other.HCFGMKCCAGA && this.GridId == other.GridId && this.BuffId == other.BuffId && this.DHNNELGHIGI == other.DHNNELGHIGI && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060007AA RID: 1962 RVA: 0x00016038 File Offset: 0x00014238
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.IJLKFMAOIFM != 0U)
			{
				num ^= this.IJLKFMAOIFM.GetHashCode();
			}
			if (this.HCFGMKCCAGA != 0U)
			{
				num ^= this.HCFGMKCCAGA.GetHashCode();
			}
			if (this.GridId != 0U)
			{
				num ^= this.GridId.GetHashCode();
			}
			if (this.BuffId != 0U)
			{
				num ^= this.BuffId.GetHashCode();
			}
			if (this.DHNNELGHIGI != 0U)
			{
				num ^= this.DHNNELGHIGI.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060007AB RID: 1963 RVA: 0x000160DB File Offset: 0x000142DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060007AC RID: 1964 RVA: 0x000160E3 File Offset: 0x000142E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060007AD RID: 1965 RVA: 0x000160EC File Offset: 0x000142EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GridId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.GridId);
			}
			if (this.BuffId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.BuffId);
			}
			if (this.DHNNELGHIGI != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.DHNNELGHIGI);
			}
			if (this.IJLKFMAOIFM != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.IJLKFMAOIFM);
			}
			if (this.HCFGMKCCAGA != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.HCFGMKCCAGA);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060007AE RID: 1966 RVA: 0x0001619C File Offset: 0x0001439C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.IJLKFMAOIFM != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IJLKFMAOIFM);
			}
			if (this.HCFGMKCCAGA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HCFGMKCCAGA);
			}
			if (this.GridId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GridId);
			}
			if (this.BuffId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BuffId);
			}
			if (this.DHNNELGHIGI != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DHNNELGHIGI);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060007AF RID: 1967 RVA: 0x0001623C File Offset: 0x0001443C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ANOEBHANHDM other)
		{
			if (other == null)
			{
				return;
			}
			if (other.IJLKFMAOIFM != 0U)
			{
				this.IJLKFMAOIFM = other.IJLKFMAOIFM;
			}
			if (other.HCFGMKCCAGA != 0U)
			{
				this.HCFGMKCCAGA = other.HCFGMKCCAGA;
			}
			if (other.GridId != 0U)
			{
				this.GridId = other.GridId;
			}
			if (other.BuffId != 0U)
			{
				this.BuffId = other.BuffId;
			}
			if (other.DHNNELGHIGI != 0U)
			{
				this.DHNNELGHIGI = other.DHNNELGHIGI;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060007B0 RID: 1968 RVA: 0x000162C8 File Offset: 0x000144C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060007B1 RID: 1969 RVA: 0x000162D4 File Offset: 0x000144D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 64U)
				{
					if (num == 48U)
					{
						this.GridId = input.ReadUInt32();
						continue;
					}
					if (num == 64U)
					{
						this.BuffId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 96U)
					{
						this.DHNNELGHIGI = input.ReadUInt32();
						continue;
					}
					if (num == 104U)
					{
						this.IJLKFMAOIFM = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.HCFGMKCCAGA = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040002CE RID: 718
		private static readonly MessageParser<ANOEBHANHDM> _parser = new MessageParser<ANOEBHANHDM>(() => new ANOEBHANHDM());

		// Token: 0x040002CF RID: 719
		private UnknownFieldSet _unknownFields;

		// Token: 0x040002D0 RID: 720
		public const int IJLKFMAOIFMFieldNumber = 13;

		// Token: 0x040002D1 RID: 721
		private uint iJLKFMAOIFM_;

		// Token: 0x040002D2 RID: 722
		public const int HCFGMKCCAGAFieldNumber = 14;

		// Token: 0x040002D3 RID: 723
		private uint hCFGMKCCAGA_;

		// Token: 0x040002D4 RID: 724
		public const int GridIdFieldNumber = 6;

		// Token: 0x040002D5 RID: 725
		private uint gridId_;

		// Token: 0x040002D6 RID: 726
		public const int BuffIdFieldNumber = 8;

		// Token: 0x040002D7 RID: 727
		private uint buffId_;

		// Token: 0x040002D8 RID: 728
		public const int DHNNELGHIGIFieldNumber = 12;

		// Token: 0x040002D9 RID: 729
		private uint dHNNELGHIGI_;
	}
}
